home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
auror120.zip
/
AKBD.A
< prev
next >
Wrap
Text File
|
1994-02-02
|
18KB
|
429 lines
//┌────────────────────────────────────────────────────────────────────┐
//│ The Aurora Editor v1.20 - Keyboard and Mouse definitions │
//│ │
//│ Please keep a backup copy of this file. │
//│ │
//│ For a description of these keyboard and mouse definitions and how │
//│ to change them, select the "Key/Mouse/Trans Config" item from the │
//│ "Help" pull-down menu. Then then select "Defining the Keyboard" │
//│ from the submenu. │
//│ │
//│ If you have made any changes, save this file and select "Restore │
//│ Settings" from the "Set" pulldown menu. Exit and re-enter the │
//│ editor for your changes to take effect. │
//│ │
//│ Key prefixes used: │
//│ "k_c_" = <Ctrl> keys │
//│ "k_a_" = <Alt> keys │
//│ "k_s_" = <Shift> keys │
//│ │
//└────────────────────────────────────────────────────────────────────┘
// edit and file manager windows
obj edit-fmgr (
fun
// Controls
≡ (wquit %p) ,// close window
// Menu activation
k_esc (menb) ,// to last menu bar item
k_f10 (menb) ,// to last menu bar item
k_a_f10 (men) ,// last pull-down menu
k_f1 (menh) ,// help pull-down
k_a_t (men2) ,// to last toolbar control
// Scroll
k_c_home (cptop) ,// to page top
k_c_end (cpbot) ,// to page bottom
k_c_pgup (cmov @ 1) ,// to file top
k_c_pgdn (cmov @ (qtexend)) ,// to file bottom
k_pad5 (ladj @ -1) ,// center cursor
k_c_f9 (ladj @ 1) ,// scroll to page top
k_c_f10 (ladj @ (qwinp @ %y1d)) ,// scroll to page bottom
k_c_up (scry -1) ,// scroll up one line
k_c_down (scry 1) ,// scroll down one line
k_c_- (clast) ,// to last cursor position
// File
k_c_n (newf) ,// new edit window
k_a_e (askopen) ,// open prompt
k_a_z (openlast) ,// open last window
k_a_- (flis) ,// file list
k_a_q (quit %p) ,// close window
k_a_x (gquit %p) ,// close all windows
k_s_f1 (qref) ,// quick reference
// Window
k_a_w (wlis) ,// window list
k_c_z (wmax) ,// maximize window
k_c_a (wnex) ,// next window
k_f12 (wpre) ,// next window
k_s_f3 (wtilev) ,// tile vertical
k_s_f4 (wtileh) ,// tile horizontal
k_s_f5 (wcasc) ,// cascade
k_c_k+q (wquit %p) ,// close window
k_a_ins (winsizt -2 -1 -2 -1 2) ,// move window northwest
k_a_del (winsizt 2 1 2 1 2) ,// move window southeast
// Search
k_c_s (askscan) ,// file scan prompt
k_c_b (mloc @ %t) ,// find top of block
k_c_6 (bget) ,// to previous bookmark
// Print
k_c_p (print) ,// print
k_a_p (print %m) ,// print block
// Set
k_c_f1 (vfont %t) ,// toggle video mode
k_a_f2 (setres) ,// restore settings
// Macro
k_c_v (askmcmd) ,// macro command prompt
k_a_f9 (askoscmd %ck) ,// DOS command prompt
k_a_f8 (askoscap) ,// DOS capture prompt
k_f9 (osshell) ,// exit to DOS
// Other
k_a_f5 (opena %atrn) ,// edit translation table
// Mouse
m_r_down_client (men) ,// last menu pull-down
m_l_dbclick_bkgnd (wlis) .// window list
).
// Prompts and Edit windows
obj prompt (
fun
// Cursor
k_left (left) ,// move cursor left
k_right (right) ,// move cursor right
k_home (chome) ,// to column one
k_end (ceol) ,// to end of line
// Scroll
k_f7 (scrx (- (xpagsiz))) ,// page left
k_f8 (scrx (xpagsiz)) ,// page right
// Editing
k_ins (cmtog) ,// toggle insert mode
k_del (delch) ,// delete character
k_backspace (baksp) ,// delete left character
k_f6 (leol) ,// erase to end of line
k_a_f6 (leol %l) ,// erase to beginning of line
k_c_t (wrddel CSet) ,// delete right word
k_c_[ (lit) ,// enter literal character
k_a_= (wasc) ,// display ascii chart
// Block
k_a_a (mset %s) ,// mark character
k_a_b (mset %r) ,// mark column
k_a_1 (wrdmrk CSet) ,// mark word
k_a_2 (meol) ,// mark to end of line
k_a_u (mdes) ,// unmark
k_a_c (mcpyp. ceol) ,// copy block to prompt
// Prompt history
k_up (wrtv %p) ,// retrieve prev prompt
k_down (wrtv %n) ,// retrieve next prompt
// Exit
k_esc (quit) ,// quit prompt
k_a_q (quit) ,// quit prompt
// non-function keys
k_chr (txt (qarg 2)) ,// typeable keys
// Mouse
// mouse left button down // begin mouse mark
m_l_down_client (
arg w x y r.
moubegmrk x y MouMrkS.
),
// mouse move
m_move_client ( // extend mouse mark
arg x y r.
moumovmrk x y.
),
// mouse left button up
m_l_up_client ( // end mouse mark
arg x y.
mouendmrk x y
).
).
// edit windows only
obj edit (
fun
// tool bar
<≡> (wtool) ,// close tool bar
<?> (hlp 18 6 %f) ,// tool bar help
<*> (fmgr) ,// display file manager
</> (wcopy) ,// copy window
<─> (wspl %h) ,// split window horz
<|> (wspl %v) ,// split window vert
<o> (askopen) ,// open prompt
<s> (save) ,// save file
<F> (askfind) ,// find prompt
<f> (finl) ,// do last find/replace
<r> (mrfl %b) ,// reflow block
<«> (undo) ,// undo last change
<»> (undo %r) ,// redo last change
<>> (mfld %f) ,// fold block
<<>